class ModifyLogs < ActiveRecord::Migration
  def self.up
    remove_column(:logs,:axis_id)
    remove_column(:logs, :asin_infos_id)
    remove_column(:logs, :stype)
    add_column :logs,:log_type,:integer
  end

  def self.down
    remove_colomn(:logs,:log_type,:integer)
    add_column(:logs,:axis_id,:string)
    add_column(:logs, :asin_infos_id,:string)
    add_column(:logs, :stype,:integer)

  end
end
